# IF C_NEWS_EDIT #
	<h1>{L_NEWS_EDIT}</h1>
			<div id="filarianne" >
				<ul >
					<li class="first"><a href="{PATH_TO_ROOT}/index.php" title="Back to item1">Accueil</a><span class="end">&nbsp;</span></li>
					<li><a href="{PATH_TO_ROOT}/admin/" title="Back to item 3">Admin</a><span class="end">&nbsp;</span></li>
					<li><a href="{PATH_TO_ROOT}/admin/news.php" title="Back to item 2">News</a><span class="end">&nbsp;</span></li>
					<li><span>Edition</span><span class="end">&nbsp;</span></li>
				</ul>
			</div>
    <script type="text/javascript">
        <!--
        function check_form() {
            if (document.getElementById('title').value == "") {
                alert("{L_REQUIRE_TITLE}");
                return false;
            }
            if (document.getElementById('content').value == "") {
                alert("{L_REQUIRE_CONTENT}");
                return false;
            }
            if (document.getElementById('owner').value == "") {
                alert("{L_REQUIRE_OWNER}");
                return false;
            }
            if (document.getElementById('date').value == "") {
                alert("{L_REQUIRE_DATE}");
                return false;
            }
            return true;
        }
        -->
    </script>
    <div id="contenu_accueil">
	# IF C_ERROR_HANDLER #
		<div class="notification_error">
			<img src="../templates/default/images/notice.png" alt="" style="float:left;padding-right:6px;" /> {L_ERRORH}
		</div>
		<br />
	# ENDIF #
	# IF C_SUCCESS #
		<div class="notification_success">
			{L_SUCCESS}
		</div>
		<br />
	# ENDIF #
    <form action="?p=edit&id={NEWS_ID}" enctype="multipart/form-data"
    method="post" onsubmit="return check_form();" class="fieldset_content">
        <fieldset>
            <legend>{L_NEWS_EDIT_MAIN}</legend>
            <dl><dt><label for="title">{L_TITLE}</label></dt>
                <dd>
                    <label>
                        <input size="30" type="text" name="title" id="title" maxlength="60" value="{VALUE_TITLE}" />
                    </label>
                </dd>
            </dl>
            <dl><dt><label for="content">{L_CONTENT}</label></dt>
                <dd>
                    <label>
                        <textarea name="content" cols="50" rows="15">{VALUE_CONTENT}</textarea>
                    </label>
                </dd>
            </dl>
        </fieldset>
        <fieldset>
            <legend>{L_NEWS_EDIT_INFO}</legend>
            <dl><dt><label for="owner">{L_OWNER}</label></dt>
                <dd>
                    <label>
                        <input size="30" type="text" name="owner" id="owner" maxlength="50" value="{VALUE_OWNER}" />
                    </label>
                </dd>
            </dl>
            <dl class="overflow_visible">
            <dt><label for="date">{L_DATE}</label></dt>
                <dd>
                    <label>
                        <input size="10" maxlength="10" type="text" name="date" value="{VALUE_AGE}"/>
                        <div style="position:relative;z-index:100;top:6px;float:left;display:none;"
                        id="calendar1">
                            <div id="calendar" class="calendar_block" onmouseover="hide_calendar(1, 1);"
                            onmouseout="hide_calendar(1, 0);"></div>
                        </div>
                        <a onclick="xmlhttprequest_calendar('calendar', '?input_field=date&amp;field=calendar&amp;lyear=1');display_calendar(1);"
                        onmouseover="hide_calendar(1, 1);" onmouseout="hide_calendar(1, 0);" style="cursor:pointer;">
                            <img class="valign_middle" id="imgcalendar" src="../templates/{THEME}/images/calendar.png"
                            alt="" />
                        </a>
                        <input type="text" size="1" maxlength="2" name="hour" value="{VALUE_HOUR}"/>{L_UNIT_HOUR}<input type="text" size="1" maxlength="2" name="min" value="{VALUE_MIN}"/>	
                    </label>
                </dd>
            </dl>
            <dl><dt><label for="hide">{L_SEX}</label></dt>
                <dd>
                    <label>
                        <select name="hide">
                            <option value="0" {VALUE_HIDE_0}>{L_NO}</option>
                            <option value="1" {VALUE_HIDE_1}>{L_YES}</option>
                    </label>
                </dd>
            </dl>
        </fieldset>
        <fieldset class="fieldset_submit">
            <legend>{L_SUBMIT}</legend>
            <input type="submit" name="edit" value="{L_SUBMIT}" class="submit" />
        </fieldset>
    </form>
    </div>
# ENDIF #